package org.runecore.rs2.net.codec;

import org.runecore.rs2.model.player.GameSession;
import org.runecore.rs2.net.StreamBuffer;

/**
 * RuneCore
 * Sep 24, 2011
 * @author Harry Andreas<Harry@RuneCore.org>
 */

public abstract class AbstractPacketDecoder {
	
	/**
	 * Decodes a packet 
	 * @param session The <code>GameSession</code> of the packet
	 * @param opcode The opcode of the packet
	 * @param buffer The buffer of the packet
	 */
	public abstract void decodePacket(GameSession session, int opcode, StreamBuffer.InBuffer buffer);

}